@joy: "joyname";

.mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  // z-index: 1000;
  z-index: 3000;
  opacity: 0.5966657;
}
.long-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  // z-index: 1001;
  z-index: 3001;
  width: 474px;
  height: 272px;
  border-radius: 24px;
  box-sizing: border-box;
  background: #FFFFFF;
  font-size: 15px;
  color: #262626;
  text-align: center;
  line-height: 24px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 45px 0;
  .box_loading {
    display: inline-block;
    position: relative;
    width: 129px;
    height: 60px;
    background-image: url('../../assets/images/loading/bg.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 48% bottom;
    overflow: hidden;
    zoom: 0.7;
  }
  .text {
    &.pd20 {
      padding-top: 20px;
    }
    font-family: "PingFangSC-Regular";
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    color: #262626;
  }
}

.long-inner-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1001;
  width: 474px;
  height: 272px;
  border-radius: 24px;
  box-sizing: border-box;
  background: transparent;
  font-size: 15px;
  color: #262626;
  text-align: center;
  line-height: 24px;
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translate(-50%, 0%);
  padding: 45px 0;
}
.long-inner-loading-contract{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1001;
  width: 474px;
  height: 272px;
  border-radius: 24px;
  box-sizing: border-box;
  background: transparent;
  font-size: 15px;
  color: #262626;
  text-align: center;
  line-height: 24px;
  position: absolute;
  top: 530px;
  left: 50%;
  transform: translate(-50%, 0%);
  padding: 45px 0;
}

.imgcard(@id){
  .img@{id}{
      position: absolute;
      bottom: 0px;
      left: 50%;
      transform: translate(-50%, 100%);
      animation: @joy ease 3s (@id - 1 )*3s forwards;
      max-width: 100%;
      max-height: 100%;
  }
}
@idList:1,2,3,4,5,6,7,8,9,10;
.loop(@i) when (@i < length(@idList)+1){
  .imgcard(@i);
  .loop(@i+1);
}
.loop(1);

@keyframes @joy {
  0% {
    transform: translate(-50%, 100%);
  }
  10.66666667%,
  86.66666667% {
    transform: translate(-50%, 0%);
  }
  100% {
    transform: translate(-50%, 100%);
  }
}

// ~~ fix: 修复IOS中初次小狗进场动画不执行，位置不正确问题
.img1 {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%, 100%);
  animation: "joyname" ease 3s 0.1s forwards;
  max-width: 100%;
  max-height: 100%;
}